﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Document_Trad.aspx.cs" Inherits="DocumentManage_Document_Trad" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
     <title>当前位置:资料共享→资料归档</title>
       <base target ="_self" />
	<link href="../css/css.css" rel="stylesheet" type="text/css" />
	<!--#include file="../js/KeyControl.js"-->
	<script src="../js/calendar.js" type ="text/javascript"></script>
	<script type="text/javascript" language="JavaScript">
		function CheckFormMenu()
		{		
		
		    if(document.form1.ddlStatus.value == null)
			{
				alert("请选择资料状态！");
				document.form1.ddlStatus.focus();
				return false;
			}
		   
		       var btnSave=window.document.getElementById("SaveInfo");
		       if(btnSave!=null)
		       btnSave.click();
		}
			
	</script>

</head>
<body style =" background-image :url('../images/hit_bg.gif');">
	<% 
		Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
		Response.Expires = 0;
		Response.CacheControl = "no-cache";
	%>
	<form id="form1" runat="server">
		<div>
<table style ="width :98%;"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td  style ="height :10;"></td>
 </tr>
</table>   
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="327AC6">
    <tr>
        <td align="right" style="width :100;background-color :#F9F9FB;">资料名称</td>
        <td  style ="background-color :#F9F9FB;"><asp:TextBox ID="txtName" runat="server" MaxLength="50" Width="300px" Enabled="false" ></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="不能为空" ControlToValidate="txtName"></asp:RequiredFieldValidator></td>
        <td align="right" style="width :100;background-color :#F9F9FB;">所属目录</td>
        <td style ="background-color :#F9F9FB;"><asp:TextBox ID="txtFolderID" runat="server" MaxLength="5" Width="300px" Enabled="false"></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空" ControlToValidate="txtFolderID"></asp:RequiredFieldValidator></td>
    </tr>
	<tr>
		<td style ="background-color :#F9F9FB;" align="right">创建人</td>
		<td style ="background-color :#F9F9FB;"><asp:TextBox ID="txtCreatRole" runat="server" MaxLength="20" Width="120px"  Enabled="false"></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="不能为空" ControlToValidate="txtCreatRole"></asp:RequiredFieldValidator>
		</td>
		<td style ="background-color :#F9F9FB;" align="right">创建时间</td>
		<td style ="background-color :#F9F9FB;"><asp:TextBox ID="txtCreatDT" runat="server" MaxLength="20" Width="120px" Enabled="false"></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="不能为空" ControlToValidate="txtCreatDT"></asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
        <td align="right" style ="background-color :#F9F9FB;">资料状态</td>
        <td style ="background-color :#F9F9FB;">
            <asp:DropDownList ID="ddlStatus" runat="server"  >
            <asp:ListItem Value="0">待归档</asp:ListItem>
              <asp:ListItem Value="1">已归档</asp:ListItem>
            </asp:DropDownList><font color="#FF0000">*</font></td>
        <td style ="background-color :#F9F9FB;" align="right">归档人</td>
        <td style ="background-color :#F9F9FB;">
			<asp:TextBox ID="txtTrador" runat="server" MaxLength="5" Width="120px"></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="不能为空" ControlToValidate="txtTrador"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
		<td style ="background-color :#F9F9FB;" align="right">归档时间</td>
		<td style ="background-color :#F9F9FB;"><asp:TextBox ID="txtTradDate" runat="server" onclick="calendardate(this,true);" TabIndex="3" MaxLength="20" Width="100px"></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="不能为空" ControlToValidate="txtTradDate"></asp:RequiredFieldValidator>
		</td>
		<td style ="background-color :#F9F9FB;" align="right">归档意见</td>
		<td style ="background-color :#F9F9FB;"><asp:TextBox ID="txtTradIdea" runat="server" TextMode="multiLine" Rows ="3" Columns ="25" ></asp:TextBox><font color="#FF0000">*</font><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="不能为空" ControlToValidate="txtTradIdea"></asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td height="36" colspan="4"  style ="background-color :#F9F9FB;">
			<div align="center">
				<asp:Button ID="SaveInfo" runat="server" Text="提交" Width="0px" Height="0px" BackColor="White"
					BorderColor="White" ForeColor="White" OnClick="SaveInfo_Click" />
				&nbsp;&nbsp;&nbsp;
				<input type="button" id="Button1" value="提交" class="button02" onclick="CheckFormMenu();" />
				<input type="button" id="btnClose" value="关闭" class="button02" onclick="window.close();" />
			</div>
		</td>
	</tr>
</table>
		</div>
		<input type ="hidden" id="Trador" runat ="server" />
	</form>
</body>
</html>

